package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsPrefrenceAreaDO;
import com.macro.mall.model.cms.CmsPrefrenceAreaQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsPrefrenceAreaMapper extends BaseMapper<CmsPrefrenceAreaDO> {
    long countByExample(CmsPrefrenceAreaQuery example);

    int deleteByExample(CmsPrefrenceAreaQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsPrefrenceAreaDO record);

    int insertSelective(CmsPrefrenceAreaDO record);

    List<CmsPrefrenceAreaDO> selectByExampleWithBLOBs(CmsPrefrenceAreaQuery example);

    List<CmsPrefrenceAreaDO> selectByExample(CmsPrefrenceAreaQuery example);

    CmsPrefrenceAreaDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsPrefrenceAreaDO record, @Param("example") CmsPrefrenceAreaQuery example);

    int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceAreaDO record, @Param("example") CmsPrefrenceAreaQuery example);

    int updateByExample(@Param("record") CmsPrefrenceAreaDO record, @Param("example") CmsPrefrenceAreaQuery example);

    int updateByPrimaryKeySelective(CmsPrefrenceAreaDO record);

    int updateByPrimaryKeyWithBLOBs(CmsPrefrenceAreaDO record);

    int updateByPrimaryKey(CmsPrefrenceAreaDO record);
}
